<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>layout 后台大布局 - Layui</title>
    <!--    默认加载static里的东西-->
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet"/>
    <style>
        .layui-form-item{
            position: absolute;
            margin-left: 700px;
            margin-top: 300px;
        }
    </style>
</head>
<body>
        <H1 th:align="center">欢迎来到选课系统</H1>
        <form class="layui-form" action="/index">

            <div class="layui-form-item">
                <button class="layui-btn" lay-submit="" lay-filter="demo2">登录</button>
                <button class="layui-btn" lay-submit="" lay-filter="demo2">注册</button>
            </div>
        </form>
<script th:src="@{/layui/layui.js}"></script>
<script>
    //JavaScript代码区域
    layui.use('form', function () {
        var form = layui.form;

    });
</script>
</body>
</html>
